package yhao.infra.feature.aliyun.oss.type;

/**
 * @author yoara
 * <p> Created on 2019/5/16 </p>
 */
public class AliyunOssImgTypeParam {
    //是否有水印
    private boolean waterMark;
    //预期高度，如果为-1，则返回默认，优先级高度>宽度
    private int height;
    //预期宽度，如果为-1，则从height相同的配置中获取一条
    private int weight;

    public AliyunOssImgTypeParam(boolean waterMark, int height, int weight) {
        this.waterMark = waterMark;
        this.height = height;
        this.weight = weight;
    }

    public boolean isWaterMark() {
        return waterMark;
    }

    public void setWaterMark(boolean waterMark) {
        this.waterMark = waterMark;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}
